package com.wps.wdztv6.api.request;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 多书签套用
 */

@Data
@Builder
public class WrapHeaderRequest {

    @JSONField(name = "task_id")
    private String taskId;

    @JSONField(name = "template_url")
    private String templateUrl;

    @JSONField(name = "template_filename")
    private String templateFilename;

    @JSONField(name = "sample_list")
    private List<Sample> sampleList;

    @Getter
    @Setter
    @Builder
    public static class Sample{
        private String bookmark;
        private String type;
        @JSONField(name = " sample_url")
        private String sampleUrl;
        @JSONField(name = "sample_filename")
        private String sampleFilename;
        private String text;
    }
}
